package plus.exp;

import plus.Gripe;
import plus.Identifier;

public final class E_LambdaFnRef extends Exp {

	private Identifier id;

	public E_LambdaFnRef(Identifier id) {
		this.id = id;
	}

	@Override
	public void threadScope() {
		// This needs to be treated as a callsite for unification.
		// Once that's done, then the identified function's entry point
		// becomes important data...
		throw new Gripe(id.lineNr, "fnRefs are later?");
	}

	@Override
	String impliedName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override String aThis() { return "a reference to function "+id; }

	@Override
	public
	void compilePush() {
		// TODO Auto-generated method stub

	}

}
